<script setup lang="ts">

defineProps({
  prefix: {
    type: String,
    default: "#icon-"
  },
  name: String,
    color: {
    type: String,
    default: ''
  },
  width: {
    type: String,
    default: "16px"
  },
  height: {
    type: String,
    default: "16px"
  }
});
</script>

<template>
  <svg :style="{width, height}" xmlns="http://www.w3.org/2000/svg">
    <use :href="prefix + name" :xlink:href="prefix + name" :fill="color"></use>
  </svg>
</template>

<style scoped>

</style>